package com.yunhe.policyfulfillment.authority.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName LoginUserApplyMatterQueryCondition
 * @Description TODO
 * @Author HeTao
 * @Date 2021/9/17 14:41
 * @Version 1.0
 **/
@Data
@ApiModel(value = "个人申请查询条件")
public class LoginUserApplyMatterQueryCondition implements Serializable {

    private static final long serialVersionUID = -1215439006467363087L;

    @ApiModelProperty(value = "企业id",required = true)
    private Long companyId;

    @ApiModelProperty(value = "申请状态",required = false)
    private String applyStatus;

    @ApiModelProperty(value = "审核节点",hidden = true)
    private List<String> auditNode;

    @ApiModelProperty(value = "审核节点状态",hidden = true)
    private String auditStatus;

    @ApiModelProperty(value = "申请开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyTime;


    @ApiModelProperty(value = "关键自",required = false)
    private String keyword;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;
}
